/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.mzk.oai.metadataRepository.transformation;

import cz.mzk.oai.metadataRepository.metadata.MetadataFormat;
import java.io.File;
import org.dom4j.Document;

/**
 *
 * @author Martin Řehánek (rehan at mzk.cz)
 */
public class MarcBasedOaiDcBuilder extends XsltSingleSourceConditionedBuilder {

    public MarcBasedOaiDcBuilder(File marcToOaiDc) throws TransformationException {
        super(marcToOaiDc, MetadataFormat.marc21, MetadataFormat.oai_dc);
    }

    @Override
    boolean canBeTransformed(Document sourceDocument) {
        return true;
    }
}
